﻿// -----------------------------------------------------------------------
// Copyright (c) David Kean. All rights reserved.
// -----------------------------------------------------------------------
extern alias pcl;
using System.Security.Cryptography;
using System.Security.Cryptography.Adaptation;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace Portable.Security.Cryptography.Adaptation
{
    [TestClass]
    public class ProtectedDataFactoryTests
    {
        [TestMethod]
        public void CreateProtectedData_ReturnsProtectedDataAdapter()
        {
            var factory = new ProtectedDataFactory();

            var result = factory.CreateProtectedData();

            Assert.IsInstanceOfType(result, typeof(ProtectedDataAdapter));
        }

    }
}
